{include file="header.tpl" }
{literal}
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
{/literal}
<img src='{#t_images#}navi.gif' border=0 alt="">{$nav_link}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<table width="98%" border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td width="170" height="50%" valign="top">{include file="left.tpl"}<!-- left start --></td>
<!-- left end -->
<td valign="top">
  {if $code eq "01"}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr >
                  <td  align="center" class="left_head">友情链接管理</td>
                  <td align="center"><a href="index.php?act=Sharelink&code=addsl">友情链接添加</a></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr>
                  <td> 
                      <form action="" method="post">
                        <table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                          <tr >
                            <td width="177"> 名 称 </td>
                            <td width="171"> 顺 序 </td>
                            <td width="237"> URL地址</td>
                            <td width="358"> 说 明 </td>
                            <td width="65">&nbsp; </td>
                            <td width="66">删 除</td>
                          </tr>
                      {section name=key loop=$sl}
                      <tr class='f_one'>
                        <td>{$sl[key][0]}</td>
                        <td>{$sl[key][1]}</td>
                        <td>{$sl[key][2]} </td>
                        <td>{$sl[key][5]}</td>
                        <td width="65"><a href="index.php?act=Seller&code=mdsl&sid={$sl[key][4]}">编 辑 </a></td>
                        <td width="66" ><input type="checkbox" name="sid[]" value="{$sl[key][4]}">
                        </td>
                      </tr>
                      {/section}
                        </table>
                        <div align="center">
                          <input type="submit" name="Submit" value=" 删 除 ">
                          <input name="code" type="hidden" id="code" value="delsl">
                        </div>
                      </form>
                      <br>
                  </td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {elseif $code eq "addsl"}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr>
                  <td  align="center"><a href="index.php?act=Sharelink&code=01">友情链接管理</a></td>
                  <td align="center" class="left_head">友情链接添加</td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">名 称：</td>
                          <td width="412"><input name="sl[name]" type="text"></td>
                        </tr>
                        <tr class='f_one'>
                          <td><p>顺 序(默认为0)：</p></td>
                          <td width="412"><input name="sl[rank]" type="text">
                          </td>
                        </tr>
                        <tr class='f_one'>
                          <td>URL地址：</td>
                          <td width="412"><input name="sl[url]" type="text" value="http://"></td>
                        </tr>
                        <tr class='f_one'>
                          <td>说 明:</td>
                          <td width="412"><input name="sl[descrip]" type="text" id="sl[descrip]"></td>
                        </tr>
                        <tr class='f_one'>
                          <td> LOGO <br>
                          [设置文字链接请留空] </td>
                          <td width="412"><input name="sl[logo]" type="text"></td>
                        </tr>
                        <tr>
                          <td><input name="submit" type="submit" class="form" id="submit" value="  添 加  "></td>
                          <td>
                            <input name="code" type="hidden" id="code" value="doaddsl">
                          </td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {elseif $code eq "mdsl"}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">名 称：</td>
                          <td width="412"><input name="mdsl[name]" type="text" id="mdsl[name]" value="{$md.name}"></td>
                        </tr>
                        <tr class='f_one'>
                          <td><p>顺 序(默认为0)：</p></td>
                          <td width="412"><input name="mdsl[rank]" type="text" value="{$md.rank}">
                          </td>
                        </tr>
                        <tr class='f_one'>
                          <td>URL地址：</td>
                          <td width="412"><input name="mdsl[url]" type="text" value="{$md.url}"></td>
                        </tr>
                        <tr class='f_one'>
                          <td>说 明:</td>
                          <td width="412"><input name="mdsl[descrip]" type="text" value="{$md.descrip}" ></td>
                        </tr>
                        <tr class='f_one'>
                          <td> LOGO <br>
                          [设置文字链接请留空] </td>
                          <td width="412"><input name="mdsl[logo]" type="text" value="{$md.logo}"></td>
                        </tr>
                        <tr>
                          <td><input name="submit7" type="submit" class="form" id="submit5" value="  修 改  "></td>
                          <td>
                            <input name="code" type="hidden" id="code" value="domdsl">
                            <input name="sid" type="hidden" id="sid" value="{$md.id}">
                          </td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  {else}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr class="head">
                  <td height="51"><img src="{#t_images#}hint.gif" width="32" height="32">欢迎登陆<b><A href="">{$html_title}</A></b>，请在左边选择您的操作</td>
                </tr>
                <tr>
                  <td height="113" valign="top"><br>
                  您上次登陆时间是：{$seller.seller_last_time|date_format:"%Y-%m-%d"}<br>
                  <br>
                  {$prop}<br>
                  <br>
                  {if not $notice} 您目前开了<font color="#FF0000">{$snum}</font>个商铺，共登陆<font color="#FF0000">{$gnum}</font>件商品，点击[<a href="index.php?act=Adver&code=16"><font color="#FF0000">这里</font></a>]管理商品。<br>
                                    <br>
                  您目前有<font color="#FF0000">{$mnum}</font>条新的留言未回复，点击[<a href="index.php?act=Adver&code=16"><font color="#FF0000">这里</font></a>]回复消息<br>
                  <br>
                  同时，我们还为您准备了个性域名为“<a href="http://{$seller.seller_logaccount}.{$domain}/" title="点击进入商家的个人主页(此个人主页列出商家所有店铺信息！)" target='_blank'><font color="#FF0000">http://{$seller.seller_logaccount}.{$domain}/</font></a>”便于推广您的商业{else} {$notice}{/if}</td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {/if}<br></td><!-- right end -->
</tr>
</table><table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Info.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
</td></tr></table>
{include file="footer.tpl"}